﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._wangweihao
{
    /// <summary>
    /// 打印模版
    /// </summary>
    public class PrintTemplate : Entity<int>
    {

        /// <summary>
        /// 模板编号
        /// </summary>
        [StringLength(64)]
        public string? TemplateCode { get; set; }

        /// <summary>
        /// 模板名称
        /// </summary>
        [StringLength(255)]
        public string? TemplateName { get; set; }

        /// <summary>
        /// 模板内容的JSON
        /// </summary>
        [StringLength(500)]
        public string? TemplateJson { get; set; }

        /// <summary>
        /// 模板类型
        /// </summary>
        [StringLength(64)]
        public string? TemplateType { get; set; }

        /// <summary>
        /// 是否默认模板
        /// </summary>
        [StringLength(1)]
        public string? IsDefault { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        [StringLength(1)]
        public string? EnableFlag { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 预留字段1
        /// </summary>
        [StringLength(64)]
        public string? Attr1 { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        [StringLength(255)]
        public string? Attr2 { get; set; }

        /// <summary>
        /// 预留字段3
        /// </summary>
        public int? Attr3 { get; set; }

        /// <summary>
        /// 预留字段4
        /// </summary>
        public int? Attr4 { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
